<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/vue.js"></script>
    <script src="../js/jquery.min.js"></script>
</head>
<body>
    <script>
        console.log("======2.26Array构造函数的问题=======");
        let a = Array();
        let b = Array(3);
        let c = Array(3,11,8);

        console.log(a);
        console.log(b);
        console.log(c);

        console.log("======2.27使用Array.of构造数组=======");
        let d = Array.of()//
        let e = Array.of(undefined)//
        let f = Array.of(3)//
        let g = Array.of(1,2,3)//

        console.log(d);
        console.log(e);
        console.log(f);
        console.log(g);
        



    </script>
    
</body>
</html>